hvm: Fix evtchn-to-fake-pci interrupt propagation.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 8 Jan 2008 15:55:29 +0000 (15:55 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 8 Jan 2008 15:55:29 +0000 (15:55 +0000)
commit10e3974b14613c687ce84decc019f4e016063caa
tree943a7e3ee39b49ce881f817f867cf67c1d03eea2
parent926b04bb757d8ca6ecaed077f3247953645630e2
hvm: Fix evtchn-to-fake-pci interrupt propagation.

Previously the evtchn_upcall_pending flag would only ever be sampled
on VCPU0, possibly leading to long delays in deasserting the
fake-pci-device INTx line if the interrupt is actually delivered to
other than VCPU0.

Diagnosed by Ian Jackson <ian.jackson@eu.citrix.com>

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/hvm/irq.c
xen/arch/x86/hvm/svm/intr.c
xen/arch/x86/hvm/vmx/intr.c
xen/include/asm-x86/event.h
xen/include/asm-x86/hvm/irq.h